cmake_minimum_required("VERSION" "2.8")

set("CMAKE_LEGACY_CYGWIN_WIN32" "0")

project("GML")

set("CMAKE_C_FLAGS" "${CMAKE_C_FLAGS} -Wall -std=c11")

option("ENABLE_TEST" "OFF by default, define as ON to enable test." "OFF")

include_directories("${PROJECT_SOURCE_DIR}")

add_subdirectory("src")
if (ENABLE_TEST)
	add_subdirectory("test")
endif ()
